/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is202.hrms.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
/*import java.util.Calendar;
import java.util.GregorianCalendar;*/



/**
 *
 * @author Tor Eirik
 */
@Entity
public class Forum implements Serializable {

    @Id
    private String navn;
    private String mld;
    private int dato;

    public Forum() {
    }

    public Forum(String navn, String mld) {
        this.navn = navn;
        this.mld = mld;
    }

    public String getNavn() {
        return navn;
    }

    public void setNavn(String navn) {
        this.navn = mld;
    }

    public String getMld() {
        return mld;
    }

    public void setMld(String mld) {
        this.mld = mld;
    }
    
 //   public void currentDate() {
 //   Calendar cal = new GregorianCalendar();
 //   int day =cal.get(Calendar.DAY_OF_MONTH);
 //   int month =cal.get(Calendar.MONTH);
 //   int year =cal.get(Calendar.YEAR);
 //   dato(day+"."+month+"."year);
 //   int hour =cal.get(Calendar.HOUR);
 //   int min =cal.get(Calendar.MINUTE);
 //   int sec = cal.get(Calendar.SECOND);
 //   tid(hour+":"+min+":"+sec);
 //   }

}